package com.financing.wap.dao.impl;


import java.sql.SQLException;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.financing.wap.common.SqlName;
import com.financing.wap.dao.IPublicActivitiesPersonDao;
import com.financing.wap.dto.PublicActivitiesPersonDTO;

@Repository("publicActivitiesPersonDaoImpl")
@SuppressWarnings(value={"unchecked", "deprecation"})
public class PublicActivitiesPersonDaoImpl extends BaseDaoImpl<PublicActivitiesPersonDTO, Integer> implements IPublicActivitiesPersonDao {

	@Override
	public List<PublicActivitiesPersonDTO> publicActivitiesPersonList(PublicActivitiesPersonDTO publicActivitiesPersonDTO)
			throws SQLException{
		return this.sqlMapClientTemplate.queryForList(SqlName.PUBLIC_ACTIVITIES_PERSON_LIST,publicActivitiesPersonDTO);
	}

	@Override
	public Class<PublicActivitiesPersonDTO> getEntityClass() {
		return PublicActivitiesPersonDTO.class;
	}

}
